router.config(['$routeProvider','$locationProvider',function($routeProvider,$locationProvider) {
    $routeProvider.when('/chart',{
        templateUrl:'/chart/template/index.html',
        controller:"ChartIndexController"
    });
}]);